/**
 * 
 */
package optimization.naturalOptimization.particleSwarmOptimization;

import optimization.naturalOptimization.population.individual.pso.DoubleArrayStandardPSOParticle;
import optimization.naturalOptimization.population.individual.pso.Particle;

/**
 * Implementation of the standard particle swarm algorithm.
 * 
 * @author Kevin Wagner
 * @version 1.0
 */
public class StandardPSO extends ParticleSwarmOptimization {

	/*
	 * (non-Javadoc)
	 * 
	 * @see optimization.IdentificationI#getIndentification()
	 */
	@Override
	public String getIndentification() {
		return "Standard PSO";
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see optimization.naturalOptimization.particleSwarmOptimization.
	 * ParticleSwarmOptimization#getNewParticle()
	 */
	@SuppressWarnings("rawtypes")
	@Override
	public Particle getNewParticle() {
		return new DoubleArrayStandardPSOParticle(getSwarm());
	}

}
